package com.tanhua.dubbo.api.SoulTest;

import com.tanhua.domain.SoulTest.*;

import java.util.List;
/**
 * @author 钱柏羽
 */
public interface SoulTestApi {
    Integer getSurveyScore(String sqlQuery);

    List<SoulTest> getSoulTests(Long userId);

    SoulTestResult getSoulTestConclusion(String reportScore);

    String findScoreType(String reportScore);

    List<Dimensions> findDimensions(String scoreType);

    List<SimilarUser> findSimilarUser(String scoreType,Long userId);

    void saveReportResult(UserSoulResult userSoulResult);

    void updateUserSoulResult(Long userId,String scoreType);

    UserSoulResult getUserSoulResult(Long userId);

    void changeFacilityStatus(Long userId);


    String getFacilityStatus(Long userId);

    void saveUserScore(Long userId, Integer surveyScore, String facility);
}


